package com.my.house.vo;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * 日期范围请求实体
 * @author yangll
 */
@Data
public class BuildingReqVO {

    /**
     * 楼栋id
     */
    private Long id;

    /**
     * 楼栋简称
     */
    @NotBlank
    @Length(max = 10)
    private String name;
    /**
     * 楼栋地址
     */
    @NotBlank
    @Length(max = 30)
    private String address;

}